package com.member.shop.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.member.shop.domain.SysBizGradeLog;

import java.util.List;

/**
 * 等级变动记录Service接口
 *
 * @author wangxin
 * @date 2024-06-13
 */
public interface ISysBizGradeLogService extends IService<SysBizGradeLog> {
    /**
     * 查询等级变动记录
     *
     * @param id 等级变动记录主键
     * @return 等级变动记录
     */
    public SysBizGradeLog selectSysBizGradeLogById(Long id);

    /**
     * 查询等级变动记录列表
     *
     * @param queryWrapper 等级变动记录
     * @return 等级变动记录集合
     */
    public List<SysBizGradeLog> selectSysBizGradeLogList(LambdaQueryWrapper<SysBizGradeLog> queryWrapper);

    /**
     * 查询等级变动记录列表
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 等级变动记录集合
     */
    public List<SysBizGradeLog> selectSysBizGradeLogList( SysBizGradeLog sysBizGradeLog);
    /**
     * 新增等级变动记录
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 结果
     */
    public int insertSysBizGradeLog(SysBizGradeLog sysBizGradeLog);

    /**
     * 修改等级变动记录
     *
     * @param sysBizGradeLog 等级变动记录
     * @return 结果
     */
    public int updateSysBizGradeLog(SysBizGradeLog sysBizGradeLog);

    /**
     * 批量删除等级变动记录
     *
     * @param ids 需要删除的等级变动记录主键集合
     * @return 结果
     */
    public int deleteSysBizGradeLogByIds(Long[] ids);

    /**
     * 删除等级变动记录信息
     *
     * @param id 等级变动记录主键
     * @return 结果
     */
    public int deleteSysBizGradeLogById(Long id);

    List<SysBizGradeLog> selectSysBizGradeLog(SysBizGradeLog sysBizGradeLog);
}
